<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Starshatter_Open: Segment Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Starshatter_Open
   </div>
   <div id="projectbrief">Open source Starshatter engine</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_segment.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Macros</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a>  </div>
  <div class="headertitle">
<div class="title">Segment Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_solid_8h_source.html">Solid.h</a>&gt;</code></p>

<p><a href="class_segment-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:adfe9fc7ffcc7269f961d4b1f6720d1e8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_segment.html#adfe9fc7ffcc7269f961d4b1f6720d1e8">Segment</a> ()</td></tr>
<tr class="memitem:af45fed5f8ef10d952fdb37e55c3521b5"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_segment.html#af45fed5f8ef10d952fdb37e55c3521b5">Segment</a> (int n, <a class="el" href="struct_poly.html">Poly</a> *p, <a class="el" href="struct_material.html">Material</a> *mtl, <a class="el" href="class_model.html">Model</a> *mod=0)</td></tr>
<tr class="memitem:a76b45a453304f1f485e3bc2fcad58b59"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_segment.html#a76b45a453304f1f485e3bc2fcad58b59">~Segment</a> ()</td></tr>
<tr class="memitem:aa9d693ec6399f7938b95a49f1e84af1e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_segment.html#aa9d693ec6399f7938b95a49f1e84af1e">IsSolid</a> () const </td></tr>
<tr class="memitem:afb0c92ceb94a67cf35854b99bc8957e6"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_segment.html#afb0c92ceb94a67cf35854b99bc8957e6">IsTranslucent</a> () const </td></tr>
<tr class="memitem:a9fdd9fa338af378ccbf72939ef0cb2fc"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_segment.html#a9fdd9fa338af378ccbf72939ef0cb2fc">IsGlowing</a> () const </td></tr>
<tr class="memitem:a118039e730308c403cfa8f5c0c7b665f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_video_private_data.html">VideoPrivateData</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_segment.html#a118039e730308c403cfa8f5c0c7b665f">GetVideoPrivateData</a> () const </td></tr>
<tr class="memitem:af2247d6a64c13e41ee3b632fd3f70095"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_segment.html#af2247d6a64c13e41ee3b632fd3f70095">SetVideoPrivateData</a> (<a class="el" href="class_video_private_data.html">VideoPrivateData</a> *vpd)</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a5e3d973d115246a60d6287b935ba6147"><td class="memItemLeft" align="right" valign="top">static const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_segment.html#a5e3d973d115246a60d6287b935ba6147">TYPENAME</a> ()</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:aa56fe5f47ddde76648a7aac53934eda8"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_segment.html#aa56fe5f47ddde76648a7aac53934eda8">npolys</a></td></tr>
<tr class="memitem:a5d14ea63073c220aa084bdaf961269a3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_poly.html">Poly</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_segment.html#a5d14ea63073c220aa084bdaf961269a3">polys</a></td></tr>
<tr class="memitem:a315eceab50f153e784630d1705ddf706"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_material.html">Material</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_segment.html#a315eceab50f153e784630d1705ddf706">material</a></td></tr>
<tr class="memitem:a02b25a9d5ce95913122597af5e136dc0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_model.html">Model</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_segment.html#a02b25a9d5ce95913122597af5e136dc0">model</a></td></tr>
<tr class="memitem:aa7c8905696a358ea1d169966d8ede65a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_video_private_data.html">VideoPrivateData</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_segment.html#aa7c8905696a358ea1d169966d8ede65a">video_data</a></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock">
<p>Definition at line <a class="el" href="_solid_8h_source.html#l00264">264</a> of file <a class="el" href="_solid_8h_source.html">Solid.h</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="adfe9fc7ffcc7269f961d4b1f6720d1e8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Segment::Segment </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_solid_8cpp_source.html#l02413">2413</a> of file <a class="el" href="_solid_8cpp_source.html">Solid.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="af45fed5f8ef10d952fdb37e55c3521b5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Segment::Segment </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>n</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_poly.html">Poly</a> *&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_material.html">Material</a> *&#160;</td>
          <td class="paramname"><em>mtl</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_model.html">Model</a> *&#160;</td>
          <td class="paramname"><em>mod</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_solid_8cpp_source.html#l02418">2418</a> of file <a class="el" href="_solid_8cpp_source.html">Solid.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a76b45a453304f1f485e3bc2fcad58b59"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Segment::~Segment </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_solid_8cpp_source.html#l02423">2423</a> of file <a class="el" href="_solid_8cpp_source.html">Solid.cpp</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a118039e730308c403cfa8f5c0c7b665f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_video_private_data.html">VideoPrivateData</a>* Segment::GetVideoPrivateData </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_solid_8h_source.html#l00277">277</a> of file <a class="el" href="_solid_8h_source.html">Solid.h</a>.</p>

</div>
</div>
<a class="anchor" id="a9fdd9fa338af378ccbf72939ef0cb2fc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Segment::IsGlowing </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_solid_8h_source.html#l00275">275</a> of file <a class="el" href="_solid_8h_source.html">Solid.h</a>.</p>

</div>
</div>
<a class="anchor" id="aa9d693ec6399f7938b95a49f1e84af1e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Segment::IsSolid </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_solid_8h_source.html#l00273">273</a> of file <a class="el" href="_solid_8h_source.html">Solid.h</a>.</p>

</div>
</div>
<a class="anchor" id="afb0c92ceb94a67cf35854b99bc8957e6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Segment::IsTranslucent </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_solid_8h_source.html#l00274">274</a> of file <a class="el" href="_solid_8h_source.html">Solid.h</a>.</p>

</div>
</div>
<a class="anchor" id="af2247d6a64c13e41ee3b632fd3f70095"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Segment::SetVideoPrivateData </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_video_private_data.html">VideoPrivateData</a> *&#160;</td>
          <td class="paramname"><em>vpd</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_solid_8h_source.html#l00278">278</a> of file <a class="el" href="_solid_8h_source.html">Solid.h</a>.</p>

</div>
</div>
<a class="anchor" id="a5e3d973d115246a60d6287b935ba6147"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const char* Segment::TYPENAME </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_solid_8h_source.html#l00267">267</a> of file <a class="el" href="_solid_8h_source.html">Solid.h</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a315eceab50f153e784630d1705ddf706"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_material.html">Material</a>* Segment::material</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_solid_8h_source.html#l00283">283</a> of file <a class="el" href="_solid_8h_source.html">Solid.h</a>.</p>

</div>
</div>
<a class="anchor" id="a02b25a9d5ce95913122597af5e136dc0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_model.html">Model</a>* Segment::model</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_solid_8h_source.html#l00284">284</a> of file <a class="el" href="_solid_8h_source.html">Solid.h</a>.</p>

</div>
</div>
<a class="anchor" id="aa56fe5f47ddde76648a7aac53934eda8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Segment::npolys</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_solid_8h_source.html#l00281">281</a> of file <a class="el" href="_solid_8h_source.html">Solid.h</a>.</p>

</div>
</div>
<a class="anchor" id="a5d14ea63073c220aa084bdaf961269a3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_poly.html">Poly</a>* Segment::polys</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_solid_8h_source.html#l00282">282</a> of file <a class="el" href="_solid_8h_source.html">Solid.h</a>.</p>

</div>
</div>
<a class="anchor" id="aa7c8905696a358ea1d169966d8ede65a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_video_private_data.html">VideoPrivateData</a>* Segment::video_data</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_solid_8h_source.html#l00285">285</a> of file <a class="el" href="_solid_8h_source.html">Solid.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>D:/SRC/StarshatterSVN/nGenEx/<a class="el" href="_solid_8h_source.html">Solid.h</a></li>
<li>D:/SRC/StarshatterSVN/nGenEx/<a class="el" href="_solid_8cpp_source.html">Solid.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_segment.html">Segment</a></li>
    <li class="footer">Generated on Tue Jun 5 2012 20:48:07 for Starshatter_Open by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.1 </li>
  </ul>
</div>
</body>
</html>
